package abstracts;

/**
 * @author chihb
 * @create-time 2024/6/22 22:12
 * @description
 */
public abstract class People {
    //防止被子类重写
    public final void write(){
        System.out.println("\t\t\t\t\t《我的爸爸》");
        System.out.println(writeMain());
        System.out.println("我爸是李刚");
    }

    public abstract String writeMain();
}
